import {get, post, del, put} from "@/apis/http/request";
import {DepressCollectType} from "@/apis/model/depress/DepressCollectTypeModel";

/**
* 得到列表
* @param params
*/
export const getDepressCollectTypeList = (params: any) => get("/depressCollectType/list", params)

/**
* 得到分页列表
* @param params
*/
export const depressCollectTypePage = (params: any) => post("/depressCollectType/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteDepressCollectTypeById = (id: number) => del("/depressCollectType/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertDepressCollectType = (param: DepressCollectType) => post("/depressCollectType", param)

/**
* 更新数据
* @param param
*/
export const updateDepressCollectType = (param: DepressCollectType) => put("/depressCollectType", param)
